
//引入必要的包
import Vue from 'vue';
import iView from 'iview';
import vuex from 'vuex';
import vueext from './extended/vueext'
import axios from './config.js'//axios全局设置

import App from './app.vue';


//自定义文件

import router from './router';//路由配置
import store from './store.js';//vuex配置
import Loading from './views/common/loading.vue'//loading动画加载
import echarts from './echartsConfig.js';//echarts配置
import 'iview/dist/styles/iview.css';
import './styles/main.css';
import './styles/fill.css';



//添加使用
Vue.use(iView);
Vue.use(vuex);
Vue.use(vueext);
Vue.component('Loading', Loading);//全局加载组件
Vue.prototype.$http = axios;//



new Vue({
  el: '#app',
  store,
  router,
  template: '<App/>',
  components: { App }
});
